package bigdata.backend.monitor.warehouse.service;

import bigdata.backend.monitor.warehouse.entity.QualityRule;
import bigdata.backend.task.dto.TaskNodeDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface QualityRuleService extends IService<QualityRule> {
    // 读取有效条件 组装sql
    public List<QualityRule> getEnabledQualityRules();

    public List<TaskNodeDto> genTaskNodes(List<QualityRule> qualityRules);

    public void submitAllTask() throws Exception;
}
